package com.library.mapper;

import com.library.bean.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    List<Book> selectBookByCondition(@Param("book") Book book);

    int deleteByPrimaryKey(Integer bookId);

    int insert(Book row);

    Book selectByPrimaryKey(int bookId);

    List<Book> selectAll();

    int updateByPrimaryKey(Book row);
}